package ZY10_25.Car;

public class Examine extends Car{
    private String phone;
    private final String site;//地址

    public void show(){
        System.out.println("地址："+site+" 电话："+phone+"\t"+"汽车检测正常");
        super.show();
    }

    public Examine(String colour, String plate, String phone, String site) {
        super(colour, plate);
        this.phone = phone;
        this.site = site;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSite() {
        return site;
    }

}
